package edu.ptu.springboot04.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;

/**
 * (OrdersDtl)实体类
 *
 * @author makejava
 * @since 2025-03-12 22:01:37
 */
@Data
public class OrdersDtl implements Serializable {
    private static final long serialVersionUID = 554816979330064769L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long orderDtlId;

    private Long orderId;

    private Long productId;
    /**
     * 商品名
     */
    private String productName;
    /**
     * 商品标题
     */
    private String productTitle;
    /**
     * 商品介绍
     */
    private String productIntro;
    /**
     * 商品图片
     */
    private String productPicture;
    /**
     * 商品原价
     */
    private Double productPrice;
    /**
     * 商品售价
     */
    private Double productSellingPrice;

    private Integer num;

    @TableLogic
    private Integer isDeleted;
}

